home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 41 / CD Expert nº 41.iso / DReign2 / DR2Demo.exe / data1.cab / Files / missions / demo / Demo Mission 1.zwp / objectives_cineractives.cfg < prev    next >
Encoding:
Text File  |  2000-09-01  |  19.4 KB  |  1,164 lines

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright 1997-99 Pandemic Studios
  4. //
  5. // Dark Reign II
  6. //
  7. //
  8.  
  9. ///Intro cineractive
  10. CreateObjectType("cineractive_intro", "Objective")
  11. {
  12.   Condition("TRUE");
  13.   Action()
  14.   {
  15.     Cineractive()
  16.     {
  17.       At(0)
  18.       {
  19.         DisableIFace(1);
  20.         DisableInput(1);
  21.         DisableShroud(1);
  22.  
  23.         Fade()
  24.         {
  25.           Time(0, 3, 5);
  26.           Direction("up");
  27.         }
  28.  
  29.         Text()
  30.         {
  31.           Time(1, 5, 6);
  32.           Direction("up");
  33.           Text("#missions.jda.j01.mis_name");
  34.           Font("Movie");
  35.         }
  36.       }
  37.  
  38.       At(3)
  39.       {
  40.         SetBookmark()
  41.         {
  42.           Name("intro");
  43.         }
  44.  
  45.         Action()
  46.         {
  47.           GameMessage()
  48.           {
  49.             Message("j01_comb_intro-1");
  50.           }
  51.         }
  52.  
  53.         Letterbox()
  54.         {
  55.           Time(0, 78, 80);
  56.           Direction("down");
  57.         }
  58.  
  59.         Mesh()
  60.         {
  61.           GodFile("cockpit01.xsi");
  62.           Time(0, 12, 12);
  63.           Direction("up");
  64.         }
  65.       }
  66.  
  67.       At(15)
  68.       {
  69.         SetCamera("PadlockCam")
  70.         {
  71.           Region("lowcamera");
  72.           Height(2);
  73.           Tag("Shuttle");
  74.         }
  75.       }
  76.  
  77.       At(18)
  78.       {
  79.         SetBookmark()
  80.         {
  81.           Name("shuttle2");
  82.           Tag("Shuttle2");
  83.           Start(2);
  84.         }
  85.       }
  86.  
  87.       At(21.0)
  88.       {
  89.         Action()
  90.         {
  91.           SelfDestruct()
  92.           {
  93.             Tag("Shrap1");
  94.           }
  95.         }
  96.       }
  97.  
  98.       At(23.0)
  99.       {
  100.         Action()
  101.         {
  102.           SelfDestruct()
  103.           {
  104.             Tag("Shrap2");
  105.           }
  106.         }
  107.       }
  108.  
  109.       At(25.5)
  110.       {
  111.         Action()
  112.         {
  113.           SelfDestruct()
  114.           {
  115.             Tag("Shrap3");
  116.           }
  117.         }
  118.       }
  119.  
  120.       At(26)
  121.       {
  122.         Mesh()
  123.         {
  124.           GodFile("cockpit01.xsi");
  125.           Time(0, 22, 22);
  126.           Direction("up");
  127.         }
  128.  
  129.         SetBookmark()
  130.         {
  131.           Name("shuttle3");
  132.           Tag("");
  133.         }
  134.       }
  135.  
  136.       At(29.5)
  137.       {
  138.         Action()
  139.         {
  140.           SelfDestruct()
  141.           {
  142.             Tag("Shrap4");
  143.           }
  144.         }
  145.       }
  146.  
  147.       At(30.0)
  148.       {
  149.         Fade()
  150.         {
  151.           Time(0.1, 0.2, 0.3);
  152.           Mode("down");
  153.           Color(255, 255, 255);
  154.         }
  155.         Action()
  156.         {
  157.           Cmd("quake.type quake::jolt");
  158.         }
  159.       }
  160.  
  161.  
  162.       At(30.4)
  163.       {
  164.         Fade()
  165.         {
  166.           Time(0.4, 0.5, 0.6);
  167.           Direction("up");
  168.           Color(255, 255, 255);
  169.         }
  170.       }
  171.  
  172.       At(32)
  173.       {
  174.         Action()
  175.         {
  176.           Cmd("quake.type quake::big");
  177.         }
  178.       }
  179.  
  180.       At(44.7)
  181.       {
  182.         Fade()
  183.         {
  184.           Time(0.1, 0.2, 0.3);
  185.           Mode("down");
  186.           Color(255, 255, 255);
  187.         }
  188.       }
  189.  
  190.       At(45.0)
  191.       {
  192.         Fade()
  193.         {
  194.           Time(0, 3, 6);
  195.           Direction("up");
  196.         }
  197.       }
  198.  
  199.       At(48.0)
  200.       {
  201.         SetBookmark()
  202.         {
  203.           Name("shuttle4");
  204.         }
  205.         Action()
  206.         {
  207.           Delete()
  208.           {
  209.             Tag("cin_tower");
  210.           }
  211.         }
  212.       }
  213.  
  214.       At(70)
  215.       {
  216.         SetBookmark()
  217.         {
  218.           Name("shuttle5");
  219.         }
  220.       }
  221.  
  222.       At(77.0)
  223.       {
  224.         Action()
  225.         {
  226.           Delete()
  227.           {
  228.             Tag("greg_aa");
  229.           }
  230.           NewObjective("objective_kill_mob");
  231.           DisplayObjective("Add", "objective_kill_mob")
  232.           {
  233.             Text("#missions.jda.j01.obj_kill_mob");
  234.           }
  235.           NewObjective("objective_patrol_killed");
  236.         }
  237.       }
  238.  
  239.       At(81)
  240.       {
  241.         //DefaultCamera();
  242.         DisableShroud(0);
  243.         DefaultCamera(1)
  244.         {
  245.           Pan()
  246.           {
  247.             Region("jda_cam_start");
  248.             Time(2);
  249.           }
  250.          }
  251.       }
  252.  
  253.       At(83.0)
  254.       {
  255.         EndCineractive();
  256.         Action()
  257.         {
  258.           Cmd("quake.active 0");
  259.         }
  260.       }
  261.     }
  262.   }
  263. }
  264.  
  265.  
  266. //////////////////////////////////////////////////////////
  267. //      Get to the base cineractive
  268. //
  269.  
  270. CreateObjectType("cineractive_mob", "Objective")
  271. {
  272.   GameObj();
  273.   ObjectiveObj()
  274.   {
  275.     Condition("TRUE");
  276.     Action()
  277.     {
  278.       Cineractive()
  279.       {
  280.         At(0)
  281.         {
  282.           Fade()
  283.           {
  284.             Time(1, 2, 3);
  285.             Direction("up");
  286.           }
  287.         }
  288.  
  289.         At(2)
  290.         {
  291.           DisableIFace(1);
  292.           DisableInput(1);
  293.           DisableShroud(1);
  294.  
  295.           SetBookmark()
  296.           {
  297.             Name("attack1");
  298.             Tag("");
  299.           }
  300.  
  301.           Letterbox()
  302.           {
  303.             Time(0, 20, 20);
  304.             Direction("down");
  305.           }
  306.         }
  307.  
  308.         At(5)
  309.         {
  310.           Action()
  311.           {
  312.             GameMessage()
  313.             {
  314.               Message("j01_cig_obj-1");
  315.             }
  316.           }
  317.         }
  318.  
  319.         At(20.5)
  320.         {
  321.           Fade()
  322.           {
  323.             Time(1, 2, 3);
  324.             Mode("up");
  325.           }
  326.         }
  327.  
  328.         At(22.5)
  329.         {
  330.           DisableShroud(0);
  331.           DefaultCamera();
  332.           Action()
  333.           {
  334.             NewObjective("objective_msg_base_loc");
  335.             DisplayObjective("Add", "objective_stand")
  336.             {
  337.               Text("#missions.jda.j01.obj_reinforce");
  338.             }
  339.             ExecuteScript("attackers", "squad.move.tagtoregion")
  340.             {
  341.               Op("%.tag", "=", "attackers");
  342.               Op("%.region", "=", "attackers");
  343.             }
  344.           }
  345.         }
  346.  
  347.         At(23.5)
  348.         {
  349.           EndCineractive();
  350.         }
  351.       }
  352.     }
  353.   }
  354. }
  355.  
  356.  
  357. //////////////////////////////////////////////////////////
  358. //      Earthquake cineractive
  359. //
  360.  
  361.  
  362.  
  363. CreateObjectType("cineractive_quake", "Objective")
  364. {
  365.   GameObj();
  366.   ObjectiveObj()
  367.   {
  368.     Condition("TRUE");
  369.     Action()
  370.     {
  371.       Cineractive()
  372.       {
  373.         At(0)
  374.         {
  375.           Fade()
  376.           {
  377.             Time(1, 2, 3);
  378.             Direction("up");
  379.           }
  380.         }
  381.  
  382.         At(0.5)
  383.         {
  384.           Action()
  385.           {
  386.             Cmd("quake.type quake::big");
  387.           }
  388.         }
  389.  
  390.         At(2)
  391.         {
  392.           DisableIFace(1);
  393.           DisableInput(1);
  394.           DisableShroud(1);
  395.           SetCamera("PadlockCam")
  396.           {
  397.             Region("quake1");
  398.             Height(2);
  399.             Tag("jda_hq");
  400.           }
  401.  
  402.           Letterbox()
  403.           {
  404.             Time(0, 38, 40);
  405.             Direction("down");
  406.           }
  407.  
  408.           Action()
  409.           {
  410.             SelfDestruct()
  411.             {
  412.               Tag("attackers");
  413.             }
  414.             SelfDestruct()
  415.             {
  416.               Tag("attackers_2");
  417.             }
  418.             DisplayObjective("Remove", "cineractive_quake");
  419.             GameMessage()
  420.             {
  421.               Message("j01_cig_sty-02");
  422.             }
  423.           }
  424.         }
  425.  
  426.         At(3)
  427.         {
  428.           Action()
  429.           {
  430.             Cmd("rain.strike");
  431.           }
  432.         }
  433.  
  434.         At(6)
  435.         {
  436.           SetBookmark()
  437.           {
  438.             Name("quake2");
  439.           }
  440.         }
  441.         At(7.5)
  442.         {
  443.           Action()
  444.           {
  445.             SelfDestruct()
  446.             {
  447.               Tag("quake1");
  448.             }
  449.           }
  450.         }
  451.  
  452.         At(9)
  453.         {
  454.           Action()
  455.           {
  456.             Cmd("rain.strike");
  457.           }
  458.         }
  459.  
  460.         At(10)
  461.         {
  462.           SetBookmark()
  463.           {
  464.             Name("quake");
  465.           }
  466.         }
  467.  
  468.         At(15)
  469.         {
  470.           Action()
  471.           {
  472.             SelfDestruct()
  473.             {
  474.               Tag("quake2");
  475.             }
  476.           }
  477.         }
  478.  
  479.         At(15.5)
  480.         {
  481.           Action()
  482.           {
  483.             Cmd("rain.strike");
  484.           }
  485.         }
  486.  
  487.         At(16)
  488.         {
  489.           Action()
  490.           {
  491.             SelfDestruct()
  492.             {
  493.               Tag("jda_hq");
  494.             }
  495.             SelfDestruct()
  496.             {
  497.               Tag("quake3");
  498.             }
  499.             SelfDestruct()
  500.             {
  501.               Tag("bridges");
  502.             }
  503.           }
  504.         }
  505.  
  506.         At(18)
  507.         {
  508.           SetBookmark()
  509.           {
  510.             Name("damage");
  511.           }
  512.         }
  513.  
  514.         At(23)
  515.         {
  516.           SetBookmark()
  517.           {
  518.             Name("damage2");
  519.           }
  520.         }
  521.  
  522.         At(28)
  523.         {
  524.           SetBookmark()
  525.           {
  526.             Name("damage3");
  527.           }
  528.         }
  529.  
  530.         At(34)
  531.         {
  532.           SetBookmark()
  533.           {
  534.             Name("rig");
  535.           }
  536.         }
  537.  
  538.         At(40)
  539.         {
  540.           Action()
  541.           {
  542.             NewObjective("strikes");
  543.             SetTeam()
  544.             {
  545.               Tag("rig");
  546.               Team("jda");
  547.             }
  548.           }
  549.         }
  550.  
  551.         At(40)
  552.         {
  553.           DisableShroud(0);
  554.           DefaultCamera(1)
  555.           {
  556.             Pan()
  557.             {
  558.               Region("rigs");
  559.               Time(2);
  560.             }
  561.           }
  562.         }
  563.  
  564.         At(42)
  565.         {
  566.           EndCineractive();
  567.         }
  568.       }
  569.     }
  570.   }
  571. }
  572.  
  573.  
  574.  
  575. CreateObjectType("cineractive_refinery", "Objective")
  576. {
  577.   GameObj();
  578.   ObjectiveObj()
  579.   {
  580.     Condition("TRUE");
  581.     Action()
  582.     {
  583.       Cineractive()
  584.       {
  585.         At(0)
  586.         {
  587.           Fade()
  588.           {
  589.             Time(1, 2, 3);
  590.             Direction("up");
  591.           }
  592.         }
  593.         At(2)
  594.         {
  595.           DisableIFace(1);
  596.           DisableInput(1);
  597.           DisableShroud(1);
  598.           SetBookmark()
  599.           {
  600.             Name("refinery");
  601.           }
  602.           Letterbox()
  603.           {
  604.             Time(0, 30, 32);
  605.             Direction("down");
  606.           }
  607.         }
  608.  
  609.         At(4)
  610.         {
  611.           Action()
  612.           {
  613.             GameMessage()
  614.             {
  615.               Message("j01_comb_sty-2");
  616.             }
  617.           }
  618.         }
  619.  
  620.         At(18)
  621.         {
  622.           Fade()
  623.           {
  624.             Time(1, 1.5, 2);
  625.             Mode("up");
  626.           }
  627.         }
  628.  
  629.         At(19)
  630.         {
  631.           SetBookmark()
  632.           {
  633.             Name("collector");
  634.           }
  635.         }
  636.  
  637.         At(32)
  638.         {
  639.           DisableShroud(0);
  640.           DefaultCamera(1)
  641.           {
  642.             Pan()
  643.             {
  644.               Region("collector");
  645.               Time(2);
  646.             }
  647.           }
  648.           Action()
  649.           {
  650.             NewObjective("collector_loc");
  651.             DisplayObjective("Add", "objective_base_built")
  652.             {
  653.               Text("#missions.jda.j01.obj_base_built");
  654.             }
  655.           }
  656.         }
  657.  
  658.         At(34)
  659.         {
  660.           EndCineractive();
  661.         }
  662.       }
  663.     }
  664.   }
  665. }
  666.  
  667.  
  668.  
  669. CreateObjectType("cineractive_tower", "Objective")
  670. {
  671.   GameObj();
  672.   ObjectiveObj()
  673.   {
  674.     Condition("Timer")
  675.     {
  676.       Time(6);
  677.     }
  678.     Action()
  679.     {
  680.       Cineractive()
  681.       {
  682.         At(0)
  683.         {
  684.           Fade()
  685.           {
  686.             Time(1, 2, 3);
  687.             Direction("up");
  688.           }
  689.         }
  690.         At(2)
  691.         {
  692.           DisableIFace(1);
  693.           DisableInput(1);
  694.           DisableShroud(1);
  695.           SetBookmark()
  696.           {
  697.             Name("tower");
  698.           }
  699.  
  700.           //Action()
  701.           //{
  702.           //  GameMessage()
  703.           //  {
  704.           //    Message("msg_4towers");
  705.           //  }
  706.           //}
  707.  
  708.           Letterbox()
  709.           {
  710.             Time(0, 11, 11);
  711.             Direction("down");
  712.           }
  713.         }
  714.  
  715.         At(11.5)
  716.         {
  717.           Fade()
  718.           {
  719.             Time(1, 2, 3);
  720.             Mode("up");
  721.           }
  722.         }
  723.  
  724.         At(13.5)
  725.         {
  726.           DisableShroud(0);
  727.           DefaultCamera();
  728.         }
  729.  
  730.         At(14.5)
  731.         {
  732.           EndCineractive();
  733.         }
  734.       }
  735.     }
  736.   }
  737. }
  738.  
  739.  
  740. CreateObjectType("cineractive_outro", "Objective")
  741. {
  742.   GameObj();
  743.   ObjectiveObj()
  744.   {
  745.     Condition("TRUE");
  746.     Action()
  747.     {
  748.       Cineractive()
  749.       {
  750.         At(0)
  751.         {
  752.           Fade()
  753.           {
  754.             Time(2, 3, 5);
  755.             Direction("up");
  756.           }
  757.         }
  758.         At(3)
  759.         {
  760.           DisableIFace(1);
  761.           DisableInput(1);
  762.           DisableShroud(1);
  763.           Action()
  764.           {
  765.             GameMessage()
  766.             {
  767.               Message("j01_cig_sty-3");
  768.             }
  769.           }
  770.  
  771.           SetBookmark()
  772.           {
  773.             Name("airstrikes");
  774.           }
  775.  
  776.           Letterbox()
  777.           {
  778.             Time(0, 18.5, 18.5);
  779.             Direction("down");
  780.           }
  781.  
  782.         }
  783.  
  784.         At(5)
  785.         {
  786.           Action()
  787.           {
  788.             SpawnObjects()
  789.             {
  790.               Formation("Box");
  791.               Direction(0);
  792.               Region("strike_cam_1");
  793.               Tag("strike_cam");
  794.               AddType("special.util.camera60", 1);
  795.             }
  796.             SpawnObjects()
  797.             {
  798.               Formation("Box");
  799.               Direction(0);
  800.               Region("strike_cam_2");
  801.               Tag("strike_cam");
  802.               AddType("special.util.camera60", 1);
  803.             }
  804.             SpawnObjects()
  805.             {
  806.               Formation("Box");
  807.               Direction(0);
  808.               Region("strike_cam_3");
  809.               Tag("strike_cam");
  810.               AddType("special.util.camera60", 1);
  811.             }
  812.           }
  813.         }
  814.  
  815.         At(5.0)
  816.         {
  817.           Action()
  818.           {
  819.             UseOffMapObject()
  820.             {
  821.               Region("strike_3");
  822.               Type("jda.strike.bomb");
  823.             }
  824.           }
  825.         }
  826.  
  827.         At(5.5)
  828.         {
  829.           Action()
  830.           {
  831.             UseOffMapObject()
  832.             {
  833.               Region("strike_6");
  834.               Type("jda.strike.bomb");
  835.             }
  836.           }
  837.         }
  838.  
  839.         At(7.0)
  840.         {
  841.           Action()
  842.           {
  843.             UseOffMapObject()
  844.             {
  845.               Region("strike_1");
  846.               Type("jda.strike.bomb");
  847.             }
  848.           }
  849.         }
  850.  
  851.         At(7.5)
  852.         {
  853.           Action()
  854.           {
  855.             UseOffMapObject()
  856.             {
  857.               Region("strike_2");
  858.               Type("jda.strike.bomb");
  859.             }
  860.           }
  861.         }
  862.  
  863.         At(8)
  864.         {
  865.           Action()
  866.           {
  867.             UseOffMapObject()
  868.             {
  869.               Region("strike_5");
  870.               Type("jda.strike.bomb");
  871.             }
  872.           }
  873.         }
  874.  
  875.         At(9)
  876.         {
  877.           Action()
  878.           {
  879.             UseOffMapObject()
  880.             {
  881.               Region("strike_4");
  882.               Type("jda.strike.bomb");
  883.             }
  884.           }
  885.         }
  886.  
  887.         At(9.5)
  888.         {
  889.           Action()
  890.           {
  891.             UseOffMapObject()
  892.             {
  893.               Region("strike_2");
  894.               Type("jda.strike.bomb");
  895.             }
  896.           }
  897.         }
  898.  
  899.         At(10.0)
  900.         {
  901.           Action()
  902.           {
  903.             UseOffMapObject()
  904.             {
  905.               Region("strike_3");
  906.               Type("jda.strike.bomb");
  907.             }
  908.             UseOffMapObject()
  909.             {
  910.               Region("strike_6");
  911.               Type("jda.strike.bomb");
  912.             }
  913.           }
  914.         }
  915.  
  916.  
  917.         At(11.5)
  918.         {
  919.           Action()
  920.           {
  921.             UseOffMapObject()
  922.             {
  923.               Region("strike_1");
  924.               Type("jda.strike.bomb");
  925.             }
  926.             UseOffMapObject()
  927.             {
  928.               Region("strike_2");
  929.               Type("jda.strike.bomb");
  930.             }
  931.           }
  932.         }
  933.  
  934.         At(12.0)
  935.         {
  936.           Action()
  937.           {
  938.             UseOffMapObject()
  939.             {
  940.               Region("strike_4");
  941.               Type("jda.strike.bomb");
  942.             }
  943.             UseOffMapObject()
  944.             {
  945.               Region("strike_5");
  946.               Type("jda.strike.bomb");
  947.             }
  948.           }
  949.         }
  950.  
  951.         At(19)
  952.         {
  953.           Fade()
  954.           {
  955.             Time(2, 3, 5);
  956.             Direction("up");
  957.           }
  958.           Action()
  959.           {
  960.             SelfDestruct()
  961.             {
  962.               Tag("sprawler_buildings");
  963.             }
  964.           }
  965.         }
  966.  
  967.         At(22)
  968.         {
  969.           EndCineractive();
  970.           Pause();
  971.           Action()
  972.           {
  973.             Win();
  974.           }
  975.         }
  976.       }
  977.     }
  978.   }
  979. }
  980.  
  981.  
  982. CreateObjectType("cineractive_defeat", "Objective")
  983. {
  984.   GameObj();
  985.   ObjectiveObj()
  986.   {
  987.     Condition("TRUE");
  988.     Action()
  989.     {
  990.       Cineractive()
  991.       {
  992.         At(0)
  993.         {
  994.           Fade()
  995.           {
  996.             Time(2, 3, 5);
  997.             Direction("up");
  998.           }
  999.         }
  1000.         At(3)
  1001.         {
  1002.           DisableIFace(1);
  1003.           DisableInput(1);
  1004.           DisableShroud(1);
  1005.           Pause();
  1006.           SetBookmark()
  1007.           {
  1008.             Name("airstrikes");
  1009.           }
  1010.  
  1011.           Letterbox()
  1012.           {
  1013.             Time(0, 9.5, 9.5);
  1014.             Direction("down");
  1015.           }
  1016.  
  1017.         }
  1018.  
  1019.         At(4)
  1020.         {
  1021.           Action()
  1022.           {
  1023.             GameMessage()
  1024.             {
  1025.               Message("j01_cig_fail-2");
  1026.             }
  1027.           }
  1028.         }
  1029.  
  1030.         At(10)
  1031.         {
  1032.           Fade()
  1033.           {
  1034.             Time(2, 3, 5);
  1035.             Direction("up");
  1036.           }
  1037.         }
  1038.  
  1039.         At(13)
  1040.         {
  1041.           EndCineractive();
  1042.           Action()
  1043.           {
  1044.             Lose();
  1045.           }
  1046.         }
  1047.       }
  1048.     }
  1049.   }
  1050. }
  1051.  
  1052.  
  1053.  
  1054. CreateObjectType("Shuttlemove", "Objective")
  1055. {
  1056.   GameObj();
  1057.   ObjectiveObj()
  1058.   {
  1059.     Condition("Timer")
  1060.     {
  1061.       Time(12);
  1062.     }
  1063.     Action()
  1064.     {
  1065.       ExecuteScript("shuttle1", "squad.move.spawntoregion_tag")
  1066.       {
  1067.         Op("%.types", "=", "shuttle");
  1068.         Op("%.tag", "=", "shuttle");
  1069.         Op("%.region.src", "=", "shuttle_start");
  1070.         Op("%.region.dst", "=", "shuttle");
  1071.         Op("%.direction", "=", 90);
  1072.       }
  1073.       NewObjective("delete_shuttle1");
  1074.     }
  1075.   }
  1076. }
  1077.  
  1078.  
  1079. CreateObjectType("delete_shuttle1", "Objective")
  1080. {
  1081.   GameObj();
  1082.   ObjectiveObj()
  1083.   {
  1084.     Condition("Timer")
  1085.     {
  1086.       Time(10);
  1087.     }
  1088.     Action()
  1089.     {
  1090.       Delete()
  1091.       {
  1092.         Tag("shuttle");
  1093.       }
  1094.     }
  1095.   }
  1096. }
  1097.  
  1098.  
  1099. CreateObjectType("Shuttlemove2", "Objective")
  1100. {
  1101.   GameObj();
  1102.   ObjectiveObj()
  1103.   {
  1104.     Condition("Timer")
  1105.     {
  1106.       Time(14);
  1107.     }
  1108.     Action()
  1109.     {
  1110.       ExecuteScript("shuttle2", "squad.move.spawntoregion_tag")
  1111.       {
  1112.         Op("%.types", "=", "shuttle");
  1113.         Op("%.tag", "=", "shuttle2");
  1114.         Op("%.region.src", "=", "shuttle2_start");
  1115.         Op("%.region.dst", "=", "shuttle2");
  1116.         Op("%.direction", "=", 270);
  1117.       }
  1118.       NewObjective("delete_shuttle2");
  1119.     }
  1120.   }
  1121. }
  1122.  
  1123.  
  1124. CreateObjectType("delete_shuttle2", "Objective")
  1125. {
  1126.   GameObj();
  1127.   ObjectiveObj()
  1128.   {
  1129.     Condition("Timer")
  1130.     {
  1131.       Time(12);
  1132.     }
  1133.     Action()
  1134.     {
  1135.       Delete()
  1136.       {
  1137.         Tag("shuttle2");
  1138.       }
  1139.     }
  1140.   }
  1141. }
  1142.  
  1143.  
  1144.  
  1145.  
  1146.  
  1147.  
  1148.  
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161.  
  1162.  
  1163.  
  1164.